package com.app.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.app.entity.authority.*;

@RestController
public class Test {
	//日志框架统一使用org.slf4j
	private static final Logger log = LoggerFactory.getLogger(Test.class);

	@RequestMapping("/test")
	public String getTest() {

 
		User u=new User();
		u.setLoginname("hello");
		

	 	return u.getLoginname();
	}





}
